package org.finesys.chat.core.base.constants;

import lombok.Getter;

@Getter
public enum EventTypeEnum {

    ADD("ADD"),
    UPDATE("UPDATE"),
    DELETE("DELETE");

    private String name;

    EventTypeEnum(String name) {
        this.name = name;
    }


    public static EventTypeEnum getByName(String name) {
        return EventTypeEnum.valueOf(name);
    }
}
